import sun.applet.Main;

/**
 * @Author 宁铂
 * @Date 2021/7/5 22:57
 * @Version 1.0
 */
public class Person {

    String name;
    Car car = new Car();

    void travel(){

        car.band = "HighLander";
        System.out.println(name);
        car.run();
        System.out.println("西藏");
    }

    public static void main(String[] args) {
        Person p = new Person();
        p.name = "Tom";
        p.travel();
    }
}
